<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><fmt:message key='login.title'/></title>
</head>
<body onload="if(self.location != top.location){top.location.href='index.jsp';}">
<form name="login" method="post" action="./login?option=validateUser">
<table>
	<tr>
		<td><fmt:message key='login.user'/></td>
		<td><input type="text" id="userName" name="userName" /></td>
	</tr>
	<tr>
		<td><fmt:message key='login.pass'/></td>
		<td><input type="password" id="userPass" name="userPass" /></td>
	</tr>
	<tr>
		<td colspan="2" style="text-align: center"><input type="submit"
			id="Ingresar" name="Ingresar" value="<fmt:message key='login.button'/>" /></td>
	</tr>
	<tr>
		<td colspan="2" style="text-align: center">
			<font color="red"><c:out value="${errorMessage}"/></font>
		</td>
	</tr>	
</table>
</form>
</body>
</html>